package com.liu.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.seckill.pojo.Goods;
import com.liu.seckill.vo.GoodsVo;

import java.util.List;

public interface IGoodsService  extends IService<Goods> {
    /**
      * 获取商品列表
      * @return
      */
  List<GoodsVo> findGoodsVo();

    /**
     * 根据商品id获取商品详情
     * @param goodsId
     * @return
     */
    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
